import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
// 样式重置
import 'styles/reset.css'
// 解决css 移动端 1px问题
import 'styles/border.css'
import 'styles/iconfont.css'
// 解决移动端点击事件延迟300ms执行的问题
import fastclick from 'fastclick'
// ES6语法转换
import 'babel-polyfill'

// 引入轮播插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false

fastclick.attach(document.body)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
